package com.google.code.jtasks.server.dao;

import com.google.code.jtasks.common.data.Task;
import com.google.code.jtasks.common.data.User;
import com.google.common.base.Optional;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: a c e r
 * Date: 12.05.13
 * Time: 17:47
 * To change this template use File | Settings | File Templates.
 */
public interface UserDAO {
   //int  userAuthentication(String userName);
   Optional<User> loadUser(String name);
    List<User> loadAllUsers();
    boolean authenticationUser(String userName,String userPassword);
}
